package com.glw.sso.platform.web.controller;


import com.glw.sso.platform.common.base.BaseController;
import com.glw.sso.platform.domain.entity.Department;
import com.glw.sso.platform.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 系统部门表 前端控制器
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-10-31
 */
@Controller
@RequestMapping("/api/department")
public class DepartmentController extends BaseController<DepartmentService, Department> {

    @Autowired
    private DepartmentService departmentService;

    @Override
    protected DepartmentService getService() {
        return departmentService;
    }
}
